package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 股票股东
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-25
 */
@TableName("nb_gdtj")
public class Gdtj extends Model<Gdtj> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 股东编号
     */
    @TableField("g_companycode")
    private String gCompanycode;
    /**
     * 股东名称
     */
    @TableField("g_sharehdname")
    private String gSharehdname;
    /**
     * 股东性质
     */
    @TableField("g_sharehdtype")
    private String gSharehdtype;
    /**
     * 股份类型
     */
    @TableField("g_sharestype")
    private String gSharestype;
    /**
     * 持有排名
     */
    @TableField("g_rank")
    private Double gRank;
    /**
     * 股票代码
     */
    @TableField("g_dm")
    private String gDm;
    /**
     * 股票名称
     */
    @TableField("g_sname")
    private String gSname;
    /**
     * 股东统计截止日
     */
    @TableField("g_rdate")
    private Date gRdate;
    /**
     * 持股数
     */
    @TableField("g_sharehdnum")
    private Double gSharehdnum;
    /**
     * 持股比例
     */
    @TableField("g_zb")
    private String gZb;
    /**
     * 持股状态
     */
    @TableField("g_bz")
    private String gBz;
    /**
     * 变动比例
     */
    @TableField("g_bdbl")
    private String gBdbl;
    /**
     * 变动数量
     */
    @TableField("g_sharehdratio")
    private Double gSharehdratio;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getgCompanycode() {
        return gCompanycode;
    }

    public void setgCompanycode(String gCompanycode) {
        this.gCompanycode = gCompanycode;
    }

    public String getgSharehdname() {
        return gSharehdname;
    }

    public void setgSharehdname(String gSharehdname) {
        this.gSharehdname = gSharehdname;
    }

    public String getgSharehdtype() {
        return gSharehdtype;
    }

    public void setgSharehdtype(String gSharehdtype) {
        this.gSharehdtype = gSharehdtype;
    }

    public String getgSharestype() {
        return gSharestype;
    }

    public void setgSharestype(String gSharestype) {
        this.gSharestype = gSharestype;
    }

    public Double getgRank() {
        return gRank;
    }

    public void setgRank(Double gRank) {
        this.gRank = gRank;
    }

    public String getgDm() {
        return gDm;
    }

    public void setgDm(String gDm) {
        this.gDm = gDm;
    }

    public String getgSname() {
        return gSname;
    }

    public void setgSname(String gSname) {
        this.gSname = gSname;
    }

    public Date getgRdate() {
        return gRdate;
    }

    public void setgRdate(Date gRdate) {
        this.gRdate = gRdate;
    }

    public Double getgSharehdnum() {
        return gSharehdnum;
    }

    public void setgSharehdnum(Double gSharehdnum) {
        this.gSharehdnum = gSharehdnum;
    }

    public String getgZb() {
        return gZb;
    }

    public void setgZb(String gZb) {
        this.gZb = gZb;
    }

    public String getgBz() {
        return gBz;
    }

    public void setgBz(String gBz) {
        this.gBz = gBz;
    }

    public String getgBdbl() {
        return gBdbl;
    }

    public void setgBdbl(String gBdbl) {
        this.gBdbl = gBdbl;
    }

    public Double getgSharehdratio() {
        return gSharehdratio;
    }

    public void setgSharehdratio(Double gSharehdratio) {
        this.gSharehdratio = gSharehdratio;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Gdtj{" +
        "id=" + id +
        ", gCompanycode=" + gCompanycode +
        ", gSharehdname=" + gSharehdname +
        ", gSharehdtype=" + gSharehdtype +
        ", gSharestype=" + gSharestype +
        ", gRank=" + gRank +
        ", gDm=" + gDm +
        ", gSname=" + gSname +
        ", gRdate=" + gRdate +
        ", gSharehdnum=" + gSharehdnum +
        ", gZb=" + gZb +
        ", gBz=" + gBz +
        ", gBdbl=" + gBdbl +
        ", gSharehdratio=" + gSharehdratio +
        "}";
    }
}
